//
//  ChongZhiFangShiView.m
//  firstpoint
//
//  Created by 泽中 on 2017/7/19.
//  Copyright © 2017年 xzcysoft. All rights reserved.
//

#import "ChongZhiFangShiView.h"

@implementation ChongZhiFangShiView

- (instancetype)initWithFrame:(CGRect)frame {
    if (self = [super initWithFrame:frame]) {
        self.backgroundColor=LRRGBColor(253, 246, 230);
        _imgView=[[UIImageView alloc]initWithFrame:CGRectMake(35, 10, 30, 30)];
        [self addSubview:_imgView];
        
        _label=[[UILabel alloc]initWithFrame:CGRectMake(75, 0, 150, self.mj_h)];
        _label.font=[UIFont systemFontOfSize:15];
        [self addSubview:_label];
        
        _button=[UIButton buttonWithType:UIButtonTypeCustom];
        _button.frame=CGRectMake(self.mj_w-50, 15, 25, 25);
        [self addSubview:_button];
        UILabel*lab=[[UILabel alloc]initWithFrame:CGRectMake(20, self.mj_h-1, self.mj_w-40, 1)];
        lab.backgroundColor=LRRGBColor(235, 240, 242);
        [self addSubview:lab];
        
            }
    return self;
}

@end
